package com.yingxin.yxerp.module.sys.controller;

import com.yingxin.yxerp.module.sys.service.IMessageSendingOptionsService;
import com.yingxin.yxerp.module.sys.vo.resp.MessageSendingOptionsRespVo;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 消息发送选项（平台）
 * @author yuebao
 * @since 2024-09-11
 */

@RestController
@RequestMapping("/message/sending/options")
public class MessageSendingOptionsController {

    @Autowired
    private IMessageSendingOptionsService optionsService;

    @ApiOperation(value = "根据id查询")
    @GetMapping("/one")
    public MessageSendingOptionsRespVo getOneVo() {
        return optionsService.mapper().getOneVo();
    }

}